import request from './index'

export const doUploadImage = (filePath?: string) => {
  return request.upload({
    filePath,
    name: "file",
    fileType: "image",
    url: '/RoadLineCustomer/Upload',
  })
}

export const doJoinInfo = (page?: string) => {
  return request.ajax({
    url: '/RoadLineCustomer',
    type: 'GET',
    page: page
  })
}

export const doJoin = (data: any, page?: string) => {
  return request.ajax({
    data: data,
    url: '/RoadLineCustomer',
    type: 'POST',
    page: page
  })
}